#!/usr/bin/perl
# diskswap.cgi in diskman

require './lvm-lib.pl';

&ReadParse();
$config{'mkfslock'} = "/var/nas/lock/mkfsd_new";
if(! -e $config{'mkfslock'}){
   	&redirect("index.cgi");
}
#-----------------------------------------------------------------
	&header($text{'title_lvformat'}, "","","","",undef,undef,"<meta http-equiv=refresh content=5>");
   	print "<p>$text{'lvformating'}</p>\n";
	&footer("/", $text{'index'});
